-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use php 7.4 syntax #384
Use php 7.4 syntax #384
Conversation
@@ -36,8 +35,7 @@ final class RequestConfigurationFactory implements RequestConfigurationFactoryIn | |||
*/ | |||
private $configurationClass; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not this one ?
* @return QueryBuilder | ||
*/ | ||
protected function getCollectionQueryBuilder() | ||
protected function getCollectionQueryBuilder(): QueryBuilder\ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this trailing / desired ?
* @return QueryBuilder | ||
*/ | ||
protected function getCollectionQueryBuilder() | ||
protected function getCollectionQueryBuilder(): QueryBuilder\ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this trailing \ desired ?
|
||
/** @var string */ | ||
private $message = ''; | ||
private string $message = ''; | ||
|
||
/** @var array */ | ||
private $messageParameters = []; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not this one ?
@@ -28,11 +28,9 @@ final class ODMTranslatableListener implements EventSubscriber | |||
/** @var string */ | |||
private $currentLocale; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not this one ?
FrameworkBundle::class => ['all' => true], | ||
DoctrineBundle::class => ['all' => true], | ||
SyliusResourceBundle::class => ['all' => true], | ||
BabDevPagerfantaBundle::class => ['all' => true], | ||
TwigBundle::class => ['all' => true, 'test_without_twig' => false], | ||
FOSRestBundle::class => ['test' => true], | ||
JMSSerializerBundle::class => ['test' => true], | ||
BazingaHateoasBundle::class => ['test' => true], | ||
FidryAliceDataFixturesBundle::class => ['test' => true], | ||
NelmioAliceBundle::class => ['test' => true], | ||
winzouStateMachineBundle::class => ['all' => true, 'test_without_state_machine' => false], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure about the use
here, it is pretty common to have the FQCN instead
Apply #328 on 1.8 branch.